Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: QuickDraw GX Printing Extensions and Drivers /
Chapter 4 - Printing Messages / Printing Messages Reference
Printing Messages / Compatibility Messages


GXPrintRecordToJob

QuickDraw GX sends the GXPrintRecordToJob message when an application that supports the Macintosh Printing Manager calls the GXPrintRecordToJob function, which converts a print record into information in the job collection. You can override the GXPrintRecordToJob message if you have a printer driver written for the Macintosh Printing Manager with a print record format you wish to continue to support. Your override of the GXPrintRecordToJob message must match the following formal declaration:

OSErr MyPrintRecordToJob (THPrint aTHPrint, gxJob aJob);
aTHPrint
A handle to the print record for this printing operation.
aJob
The job object.
function result
An error code. The value noErr indicates that the operation was successful.
DESCRIPTION
The default implementation of the GXPrintRecordToJob message sends the GXConvertPrintRecordTo message and then moves all of the universal fields into the job object.

SPECIAL CONSIDERATIONS
You never send the GXPrintRecordToJob message yourself.

You can totally or partially override the GXPrintRecordToJob message.

RESULT CODES
gxSegmentLoadFailedErrA required code segment could not be found,
or there was not enough memory to load it.
gxPrUserAbortErrThe user has canceled printing.
SEE ALSO
The GXPrintRecordToJob function is described in Inside Macintosh: QuickDraw GX Printing.

The GXConvertPrintRecordTo message is described in the previous section.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help